import UIKit

@available(iOS 2.0, *)
extension QKC where AA :UIBarButtonItem {
		// default is UIBarButtonItemStylePlain
    open func style_qk_s(_ style:  UIBarButtonItem.Style ) -> QKC<AA,YY,ZZ, UIBarButtonItem.Style >{
		return link(next: style).then_QK { $0.value.style = style }
	}
    open func style_qk_g() -> QKC<AA,YY,ZZ, UIBarButtonItem.Style >{
		 self +^ self.value.style
	}

		// default is 0.0
    open func width_qk_s(_ width:  CGFloat ) -> QKC<AA,YY,ZZ, CGFloat >{
		return link(next: width).then_QK { $0.value.width = width }
	}
    open func width_qk_g() -> QKC<AA,YY,ZZ, CGFloat >{
		 self +^ self.value.width
	}

		// default is nil
    open func possibleTitles_qk_s(_ possibleTitles:  Set<String>? ) -> QKC<AA,YY,ZZ, Set<String>? >{
		return link(next: possibleTitles).then_QK { $0.value.possibleTitles = possibleTitles }
	}
    open func possibleTitles_qk_g() -> QKC<AA,YY,ZZ, Set<String>? >{
		 self +^ self.value.possibleTitles
	}

		// default is nil
    open func customView_qk_s(_ customView:  UIView? ) -> QKC<AA,YY,ZZ, UIView? >{
		return link(next: customView).then_QK { $0.value.customView = customView }
	}
    open func customView_qk_g() -> QKC<AA,YY,ZZ, UIView? >{
		 self +^ self.value.customView
	}

		// default is NULL
    open func action_qk_s(_ action:  Selector? ) -> QKC<AA,YY,ZZ, Selector? >{
		return link(next: action).then_QK { $0.value.action = action }
	}
    open func action_qk_g() -> QKC<AA,YY,ZZ, Selector? >{
		 self +^ self.value.action
	}

		// default is nil
     open func target_qk_s(_ target:  AnyObject? ) -> QKC<AA,YY,ZZ, AnyObject? >{
		return link(next: target).then_QK { $0.value.target = target }
	}
     open func target_qk_g() -> QKC<AA,YY,ZZ, AnyObject? >{
		 self +^ self.value.target
	}

    @available(iOS 5.0, *)
    open func tintColor_qk_s(_ tintColor:  UIColor?) -> QKC<AA,YY,ZZ, UIColor?>{
		return link(next: tintColor).then_QK { $0.value.tintColor = tintColor }
	}
    @available(iOS 5.0, *)
    open func tintColor_qk_g() -> QKC<AA,YY,ZZ, UIColor?>{
		 self +^ self.value.tintColor
	}

    @available(iOS 5.0, *)
    open func setBackgroundImage_qk_f(_ backgroundImage: UIImage?, for state: UIControl.State, barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ, UIImage?>{
		 self +^ self.value.setBackgroundImage(backgroundImage, for:state, barMetrics:barMetrics) +^ backgroundImage
	}

    @available(iOS 5.0, *)
    open func backgroundImage_qk_f(for state: UIControl.State, barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ,UIImage?>{
		 self +^ self.value.backgroundImage(for:state, barMetrics:barMetrics)
	}

    @available(iOS 6.0, *)
    open func setBackgroundImage_qk_f(_ backgroundImage: UIImage?, for state: UIControl.State, style: UIBarButtonItem.Style, barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ, UIImage?>{
		 self +^ self.value.setBackgroundImage(backgroundImage, for:state, style:style, barMetrics:barMetrics) +^ backgroundImage
	}

    @available(iOS 6.0, *)
    open func backgroundImage_qk_f(for state: UIControl.State, style: UIBarButtonItem.Style, barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ,UIImage?>{
		 self +^ self.value.backgroundImage(for:state, style:style, barMetrics:barMetrics)
	}

    @available(iOS 5.0, *)
    open func setBackgroundVerticalPositionAdjustment_qk_f(_ adjustment: CGFloat, for barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ, CGFloat>{
		 self +^ self.value.setBackgroundVerticalPositionAdjustment(adjustment, for:barMetrics) +^ adjustment
	}

    @available(iOS 5.0, *)
    open func backgroundVerticalPositionAdjustment_qk_f(for barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ,CGFloat>{
		 self +^ self.value.backgroundVerticalPositionAdjustment(for:barMetrics)
	}

    @available(iOS 5.0, *)
    open func setTitlePositionAdjustment_qk_f(_ adjustment: UIOffset, for barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ, UIOffset>{
		 self +^ self.value.setTitlePositionAdjustment(adjustment, for:barMetrics) +^ adjustment
	}

    @available(iOS 5.0, *)
    open func titlePositionAdjustment_qk_f(for barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ,UIOffset>{
		 self +^ self.value.titlePositionAdjustment(for:barMetrics)
	}

    @available(iOS 5.0, *)
    open func setBackButtonBackgroundImage_qk_f(_ backgroundImage: UIImage?, for state: UIControl.State, barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ, UIImage?>{
		 self +^ self.value.setBackButtonBackgroundImage(backgroundImage, for:state, barMetrics:barMetrics) +^ backgroundImage
	}

    @available(iOS 5.0, *)
    open func backButtonBackgroundImage_qk_f(for state: UIControl.State, barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ,UIImage?>{
		 self +^ self.value.backButtonBackgroundImage(for:state, barMetrics:barMetrics)
	}

    @available(iOS 5.0, *)
    open func setBackButtonTitlePositionAdjustment_qk_f(_ adjustment: UIOffset, for barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ, UIOffset>{
		 self +^ self.value.setBackButtonTitlePositionAdjustment(adjustment, for:barMetrics) +^ adjustment
	}

    @available(iOS 5.0, *)
    open func backButtonTitlePositionAdjustment_qk_f(for barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ,UIOffset>{
		 self +^ self.value.backButtonTitlePositionAdjustment(for:barMetrics)
	}

    @available(iOS 5.0, *)
    open func setBackButtonBackgroundVerticalPositionAdjustment_qk_f(_ adjustment: CGFloat, for barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ, CGFloat>{
		 self +^ self.value.setBackButtonBackgroundVerticalPositionAdjustment(adjustment, for:barMetrics) +^ adjustment
	}

    @available(iOS 5.0, *)
    open func backButtonBackgroundVerticalPositionAdjustment_qk_f(for barMetrics: UIBarMetrics) -> QKC<AA,YY,ZZ,CGFloat>{
		 self +^ self.value.backButtonBackgroundVerticalPositionAdjustment(for:barMetrics)
	}

}

